<?php
/**
 * CONTENIDO extension pack (mpContenidoX), consists of multiple classes to
 * provide more features for Plugins/Modules.
 *
 * @package     mpContenidoX
 * @subpackage  PluginInstaller
 * @author      Murat Purc <murat@purc.de>
 * @copyright   Copyright (c) 2008-2012 Murat Purc (http://www.purc.de)
 * @license     http://www.gnu.org/licenses/gpl-2.0.html - GNU General Public License, version 2
 * @version     $Id: Abstract.class.php 21 2012-07-16 21:33:14Z purcaholic $
 */


defined('CON_FRAMEWORK') or die('Illegal call');


/**
 * Abstract plugin setup base class, each plugin installer should extend this
 * class.
 *
 * @package     mpContenidoX
 * @subpackage  PluginInstaller
 * @author      Murat Purc <murat@purc.de>
 */
abstract class mpPluginInstaller_Abstract
{

    /**
     * CONTENIDO configuration array
     * @var  array
     */
    protected $_cfg;

    /**
     * CONTENIDO database instance
     * @var  DB_Contenido
     */
    protected $_db;


    /**
     * Constructor, sets some properties
     */
    public function __construct()
    {
        $this->_cfg = $GLOBALS['cfg']; // damn globals
        $this->_db  = new DB_Contenido();
    }

}
